{extend name="base" /}
{block name="body"}
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <form class="layui-form form-container" action="{:url('admin/seo/updateConfig')}" method="post">
                    <div class="layui-tab layui-tab-brief">
                        <ul class="layui-tab-title">
                            <li class="layui-this">首页设置</li>
                            <li>分类设置</li>
                            <li>详情设置</li>
                            <li>搜索设置</li>
                        </ul>
                        <div class="layui-tab-content">
                            <div class="layui-tab-item layui-show">
                                <div class="layui-form" wid100>
                                        <div class="layui-form-item layui-form-text">
                                            <label class="layui-form-label">标题</label>
                                            <div class="layui-input-block">
                                                <textarea name="seo_config[site_title]" placeholder="请输入标题SEO" class="layui-textarea">{$seo.site_title|default=''}</textarea>
                                            </div>
                                        </div>
                                        <div class="layui-form-item layui-form-text">
                                            <label class="layui-form-label">关键字</label>
                                            <div class="layui-input-block">
                                                <textarea name="seo_config[site_keywords]" placeholder="请输入关键字SEO" class="layui-textarea">{$seo.site_keywords|default=''}</textarea>
                                            </div>
                                        </div>
                                        <div class="layui-form-item layui-form-text">
                                            <label class="layui-form-label">META描述</label>
                                            <div class="layui-input-block">
                                                <textarea name="seo_config[site_description]"  placeholder="请输入META描述SEO" class="layui-textarea">{$seo.site_description|default=''}</textarea>
                                            </div>
                                        </div>
                                        <div class="layui-form-item">
                                            <div class="layui-input-block">
                                                <button class="layui-btn" lay-submit lay-filter="*">确认保存</button>
                                            </div>
                                        </div>
                                    </div>
                            </div>
                            <div class="layui-tab-item">
                                <div class="layui-form" wid100>
                                    <div class="layui-form-item layui-form-text">
                                        <label class="layui-form-label">标题</label>
                                        <div class="layui-input-block">
                                            <textarea name="seo_config[site_classify_title]" placeholder="请输入标题SEO" class="layui-textarea">{$seo.site_classify_title|default=''}</textarea>
                                        </div>
                                    </div>
                                    <div class="layui-form-item layui-form-text">
                                        <label class="layui-form-label">关键字</label>
                                        <div class="layui-input-block">
                                            <textarea name="seo_config[site_classify_keywords]" placeholder="请输入关键字SEO" class="layui-textarea">{$seo.site_classify_keywords|default=''}</textarea>
                                        </div>
                                    </div>
                                    <div class="layui-form-item layui-form-text">
                                        <label class="layui-form-label">META描述</label>
                                        <div class="layui-input-block">
                                            <textarea name="seo_config[site_classify_description]"  placeholder="请输入META描述SEO" class="layui-textarea">{$seo.site_classify_description|default=''}</textarea>
                                        </div>
                                    </div>
                                    <div class="layui-form-item">
                                        <div class="layui-input-block">
                                            <button class="layui-btn" lay-submit lay-filter="*">确认保存</button>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="layui-tab-item">
                                <div class="layui-form" wid100>
                                    <div class="layui-form-item layui-form-text">
                                        <label class="layui-form-label">标题</label>
                                        <div class="layui-input-block">
                                            <textarea name="seo_config[site_details_title]" placeholder="请输入标题SEO" class="layui-textarea">{$seo.site_details_title|default=''}</textarea>
                                        </div>
                                    </div>
                                    <div class="layui-form-item layui-form-text">
                                        <label class="layui-form-label">关键字</label>
                                        <div class="layui-input-block">
                                            <textarea name="seo_config[site_details_keywords]" placeholder="请输入关键字SEO" class="layui-textarea">{$seo.site_details_keywords|default=''}</textarea>
                                        </div>
                                    </div>
                                    <div class="layui-form-item layui-form-text">
                                        <label class="layui-form-label">META描述</label>
                                        <div class="layui-input-block">
                                            <textarea name="seo_config[site_details_description]"  placeholder="请输入META描述SEO" class="layui-textarea">{$seo.site_details_description|default=''}</textarea>
                                        </div>
                                    </div>
                                    <div class="layui-form-item">
                                        <div class="layui-input-block">
                                            <button class="layui-btn" lay-submit lay-filter="*">确认保存</button>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="layui-tab-item">
                                <div class="layui-form" wid100>
                                    <div class="layui-form-item layui-form-text">
                                        <label class="layui-form-label">标题</label>
                                        <div class="layui-input-block">
                                            <textarea name="seo_config[site_search_title]" placeholder="请输入标题SEO" class="layui-textarea">{$seo.site_search_title|default=''}</textarea>
                                        </div>
                                    </div>
                                    <div class="layui-form-item layui-form-text">
                                        <label class="layui-form-label">关键字</label>
                                        <div class="layui-input-block">
                                            <textarea name="seo_config[site_search_keywords]" placeholder="请输入关键字SEO" class="layui-textarea">{$seo.site_search_keywords|default=''}</textarea>
                                        </div>
                                    </div>
                                    <div class="layui-form-item layui-form-text">
                                        <label class="layui-form-label">META描述</label>
                                        <div class="layui-input-block">
                                            <textarea name="seo_config[site_search_description]"  placeholder="请输入META描述SEO" class="layui-textarea">{$seo.site_search_description|default=''}</textarea>
                                        </div>
                                    </div>
                                    <div class="layui-form-item">
                                        <div class="layui-input-block">
                                            <button class="layui-btn" lay-submit lay-filter="*">确认保存</button>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
{/block}